#! /bin/sh

sxhkd &
#autostart
$HOME/.config/polybar/launch.sh &
#$HOME/.config/polybar_dracula/launch.sh &

$HOME/Code/scripts/autostart/autostart.sh &
xmodmap ~/.xmodmap
#setxkbmap -option "ctrl:swapcaps"
#picom -b
#$HOME/.config/polybar/launch.sh &
#feh --bg-scale $HOME/Pictures/Background/mac.jpg
##$HOME/Pictures/Background/auto-change.sh &
#fcitx &
xautolock -time 10 -locker 'i3lock -i $HOME/Pictures/lock/girl.jpg' -corners ---- -cornersize 30 &
#xautolock -time 10 -locker 'multilockscreen --lock ' -corners ---- -cornersize 30 &
xsetroot -cursor_name left_ptr
wmname LG3D
#COPYQ &
#caffeine-indicator &
#xfce4-power-manager &

bspc monitor eDP1 -d 1 2 3 4 5
bspc monitor DP1 -d 6 7 8 9 0
#bspc monitor DP3 -d 6 7 8 9 0
#bspc monitor eDP1 -d 1 2 3 4 5 6 7 8 9 0
#bspc monitor DP-1 -d 1 2 3 4 5 6 7 8 9 0

bspc config border_width         3
bspc config window_gap           5
bspc config focus_follows_pointer true
bspc config ignore_ewmh_focus true

bspc config focused_border_color "#5e18ac"
bspc config normal_border_color "#44475a"
bspc config active_border_color "#5e81ac"
bspc config presel_feedback_color "#6272a4"

bspc config split_ratio          0.5
bspc config borderless_monocle   true
bspc config gapless_monocle      true

bspc rule -a Gimp desktop='^8' state=floating follow=on
bspc rule -a google-chrome-stable desktop='^3'
bspc rule -a netease-cloud-music desktop='^5' state=floating 
bspc rule -a mplayer2 state=floating
bspc rule -a feh state=floating
bspc rule -a deepin-screen-recorder state=floating
bspc rule -a Kupfer.py focus=on
bspc rule -a Screenkey manage=off
bspc rule -a java-lang-Thread desktop='^8' state=floating
bspc rule -a xdman-Main state=floating
bspc rule -a Nitrogen state=floating
bspc rule -a Lxappearance state=floating
bspc rule -a Xfce4-about state=floating
bspc rule -a Steam desktop='^5' state=floating
#bspc rule -a deepin-system-monitor state=floating
#bspc rule -a 'VirtualBox Manager' desktop='^6' state=floating
#bspc rule -a 'VirtualBox Machine' desktop='^6'
bspc rule -a Galculator state=floating
bspc rule -a Gpick state=floating
#bspc rule -a jetbrains-idea desktop='^2'
#bspc rule -a jetbrains-pycharm desktop='^2'
#bspc rule -a jetbrains-clion desktop='^2'
#bspc rule -a jetbrains-webstorm desktop='^2'
#bspc rule -a jetbrains-datagrip desktop='^2'

bspc rule -a tim desktop='^4' state=floating follow=on
bspc rule -a weixin desktop='^4' state=floating follow=on
bspc rule -a 微信 desktop='^4' state=floating follow=on
bspc rule -a goldendict state=floating follow=on
bspc rule -a dingtalk-linux desktop='^3' state=floating 
